<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>用户添加--layui后台管理模板 2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/public.css" media="all" />
    <link href="../../layui/css/dtree.css" media="all" rel="stylesheet"  />
    <link href="../../layui/lay/exts/font/dtreefont.css" media="all" rel="stylesheet" />
</head>
<body class="childrenBody">
    <form class="layui-form layui-row " lay-filter="addForm">
        <div class="layui-form-item magt3">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input type="text" name="Name" class="layui-input" lay-filter="Name" required lay-verify="required" placeholder="请输入APP名称">
            </div>
        </div>
        <div class="layui-form-item magt3">
            <label class="layui-form-label">类别：</label>
            <div class="layui-input-block">
                <ul id="selectCate" class="dtree" data-id="0" ></ul>
                <input type="hidden" name="CategoryId" class="layui-input" lay-filter="CategoryId" required lay-verify="required" >
            </div>
        </div>

        <div class="layui-form-item magt3">
            <label class="layui-form-label">最新版本</label>
            <div class="layui-input-block">
                <input type="text" name="LastVersion" class="layui-input" lay-filter="LastVersion" >
            </div>
        </div>
        <div class="layui-form-item magt3">
            <label class="layui-form-label">适用平台</label>
            <div class="layui-input-block">
                <input type="text" name="Rom" class="layui-input" lay-filter="Rom" >
            </div>
        </div>
        <div class="layui-form-item magt3">
            <label class="layui-form-label">上传文件</label>
            <div class="layui-input-block">
                <input type="hidden" name="AppPath">
                <button type="button" class="layui-btn" id="appFiles">
                    <i class="layui-icon">&#xe67c;</i>上传图片
                </button>
            </div>
        </div>
        <div class="layui-form-item magt3">
            <label class="layui-form-label">描述</label>
            <div class="layui-input-block">
                <input type="text" name="Remark" class="layui-input" lay-filter="Remark" >
            </div>
        </div>
        <hr>
        <div class="layui-center">
            <a class="layui-btn layui-btn-sm" lay-filter="add" lay-submit><i class="layui-icon">&#xe609;</i>提交</a>
            <a class="layui-btn layui-btn-primary layui-btn-sm" lay-filter="cannel" id="btnCancel">取消</a>
        </div>
    </form>
    <script type="text/javascript" src="../../layui/layui.js"></script>
    <script type="text/javascript" src="./add.js"></script>
</body>
</html>